package com.example.rydwlib.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.example.rydwlib.R
import com.example.rydwlib.bean.RyNickBean

class RydwAllNickAdapter  (layoutResId: Int) :
    BaseQuickAdapter<RyNickBean, BaseViewHolder>(layoutResId) {
    override fun convert(helper: BaseViewHolder, item: RyNickBean) {
        helper.setText(R.id.ry_nick_item_name,(helper.adapterPosition+1).toString()+"-"+item.minename)
            .setText(R.id.ry_nick_online,item.netStatus)
            .setText(R.id.ry_nick_ime,item.realtimenum)
            .setText(R.id.ry_nick_lead,item.leadernum)
            .setText(R.id.ry_nick_special,item.specianum)
            .setText(R.id.ry_nick_over_time,item.overtimenum)
            .setText(R.id.ry_nick_time,item.datatime)
    }

}
